package org.example.myleet.p1736;

import org.example.myleet.Utils.Assert;

public class Main {
    public static void main(String[] args) {
        Solution solution = new Solution();
        Assert.isTrue("23:50".equals(solution.maximumTime("2?:?0")));
        Assert.isTrue("09:39".equals(solution.maximumTime("0?:3?")));
        Assert.isTrue("19:22".equals(solution.maximumTime("1?:22")));
        Assert.isTrue("14:22".equals(solution.maximumTime("?4:22")));
        Assert.isTrue("23:59".equals(solution.maximumTime("??:??")));
    }
}
